/**
 * $Revision: 1.0 $
 * $Author: Eric Yang $
 * $Date: Oct 13, 2009 11:54:40 PM $
 *
 * Author: Eric Yang
 * Date  : Oct 13, 2009 11:54:40 PM
 *
 */
package com.gooex.service;

import org.c4j.system.web.hibernate.BaseHibernateService;

import com.gooex.domain.organization.User;
import com.gooex.service.organization.IApplicationSessionContext;

/**
 * @author Eric Yang
 * @version 1.0
 */
public class BaseAppHibernateService extends BaseHibernateService {

	protected IApplicationSessionContext sessionContext;

	protected User getCurrentUser() {
		return sessionContext.getUser();
	}

	public final void setSessionContext(IApplicationSessionContext sessionContext) {
		this.sessionContext = sessionContext;
	}

}
